const REG_PHONE = /^1[3|4|5|6|7|8|9][0-9]\d{8}$/;
const REG_IDCARD = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
const REG_PASSWORD = /^(?![A-Za-z]+$)(?![A-Z\d]+$)(?![A-Z\W]+$)(?![a-z\d]+$)(?![a-z\W]+$)(?![\d\W]+$)\S{6,}$/;
const REG_NUMBER = /^[1-9]\d*$/;
const REG_DECIMAL = /^\d+(\.\d{1,2})?$/;
const REG_CARNO = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-Z0-9]{4,5}[A-Z0-9挂学警港澳]{1}$/;
export default {
  REG_PHONE, REG_IDCARD, REG_PASSWORD, REG_NUMBER, REG_DECIMAL, REG_CARNO
}